//
//  IndexDes.m
//  MyTrip
//
//  Created by zhang on 15/8/24.
//  Copyright (c) 2015年 张益. All rights reserved.
//

#import "IndexDes.h"
#import "Destination.h"

@implementation IndexDes

- (void)dealloc
{
    [_des release];
    [super dealloc];
}


+ (IndexDes *)indexDesWithIndex:(NSInteger)index des:(NSArray *)des{
    IndexDes *indexdes = [[IndexDes alloc] init];
    indexdes.index = index;
    indexdes.des = des;
    return [indexdes autorelease];
}



@end
